package utils

import "runtime"

// LogPathWindows 日志路径
const LogPathWindows = "C:\\Users\\AA\\Desktop\\access.log"

// LogPathLinux 日志路径
const LogPathLinux = "/data/apisix_2.7/logs/access.log"

func GetLogPath() string {
	var osType = runtime.GOOS
	logPath := LogPathLinux
	if osType == "windows" {
		return LogPathWindows
	}
	return logPath
}
